/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Race Alaskan Native Aleut Unangan</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S15722 (C-0-T14914-S14915-S15470-S15690-S15722-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRaceAlaskanNativeAleutUnangan()
 * @model extendedMetaData="name='RaceAlaskanNativeAleutUnangan'"
 * @generated
 */
public enum RaceAlaskanNativeAleutUnangan implements Enumerator {
	/**
	 * The '<em><b>20065</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20065_VALUE
	 * @generated
	 * @ordered
	 */
	_20065(0, "_20065", "2006-5"),

	/**
	 * The '<em><b>20073</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20073_VALUE
	 * @generated
	 * @ordered
	 */
	_20073(1, "_20073", "2007-3"),

	/**
	 * The '<em><b>20081</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20081_VALUE
	 * @generated
	 * @ordered
	 */
	_20081(2, "_20081", "2008-1"),

	/**
	 * The '<em><b>20099</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20099_VALUE
	 * @generated
	 * @ordered
	 */
	_20099(3, "_20099", "2009-9"),

	/**
	 * The '<em><b>20107</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20107_VALUE
	 * @generated
	 * @ordered
	 */
	_20107(4, "_20107", "2010-7"),

	/**
	 * The '<em><b>20115</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20115_VALUE
	 * @generated
	 * @ordered
	 */
	_20115(5, "_20115", "2011-5"),

	/**
	 * The '<em><b>20123</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20123_VALUE
	 * @generated
	 * @ordered
	 */
	_20123(6, "_20123", "2012-3"),

	/**
	 * The '<em><b>20131</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20131_VALUE
	 * @generated
	 * @ordered
	 */
	_20131(7, "_20131", "2013-1"),

	/**
	 * The '<em><b>20156</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20156_VALUE
	 * @generated
	 * @ordered
	 */
	_20156(8, "_20156", "2015-6"),

	/**
	 * The '<em><b>20149</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20149_VALUE
	 * @generated
	 * @ordered
	 */
	_20149(9, "_20149", "2014-9"),

	/**
	 * The '<em><b>20164</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20164_VALUE
	 * @generated
	 * @ordered
	 */
	_20164(10, "_20164", "2016-4"),

	/**
	 * The '<em><b>20172</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20172_VALUE
	 * @generated
	 * @ordered
	 */
	_20172(11, "_20172", "2017-2"),

	/**
	 * The '<em><b>20180</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20180_VALUE
	 * @generated
	 * @ordered
	 */
	_20180(12, "_20180", "2018-0"),

	/**
	 * The '<em><b>20198</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20198_VALUE
	 * @generated
	 * @ordered
	 */
	_20198(13, "_20198", "2019-8"),

	/**
	 * The '<em><b>20206</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20206_VALUE
	 * @generated
	 * @ordered
	 */
	_20206(14, "_20206", "2020-6"),

	/**
	 * The '<em><b>20230</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20230_VALUE
	 * @generated
	 * @ordered
	 */
	_20230(15, "_20230", "2023-0"),

	/**
	 * The '<em><b>20248</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20248_VALUE
	 * @generated
	 * @ordered
	 */
	_20248(16, "_20248", "2024-8"),

	/**
	 * The '<em><b>20214</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20214_VALUE
	 * @generated
	 * @ordered
	 */
	_20214(17, "_20214", "2021-4"),

	/**
	 * The '<em><b>20222</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20222_VALUE
	 * @generated
	 * @ordered
	 */
	_20222(18, "_20222", "2022-2"),

	/**
	 * The '<em><b>20255</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20255_VALUE
	 * @generated
	 * @ordered
	 */
	_20255(19, "_20255", "2025-5"),

	/**
	 * The '<em><b>20263</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_20263_VALUE
	 * @generated
	 * @ordered
	 */
	_20263(20, "_20263", "2026-3");

	/**
	 * The '<em><b>20065</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20065</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20065
	 * @model literal="2006-5"
	 * @generated
	 * @ordered
	 */
	public static final int _20065_VALUE = 0;

	/**
	 * The '<em><b>20073</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20073</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20073
	 * @model literal="2007-3"
	 * @generated
	 * @ordered
	 */
	public static final int _20073_VALUE = 1;

	/**
	 * The '<em><b>20081</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20081</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20081
	 * @model literal="2008-1"
	 * @generated
	 * @ordered
	 */
	public static final int _20081_VALUE = 2;

	/**
	 * The '<em><b>20099</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20099</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20099
	 * @model literal="2009-9"
	 * @generated
	 * @ordered
	 */
	public static final int _20099_VALUE = 3;

	/**
	 * The '<em><b>20107</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20107</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20107
	 * @model literal="2010-7"
	 * @generated
	 * @ordered
	 */
	public static final int _20107_VALUE = 4;

	/**
	 * The '<em><b>20115</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20115</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20115
	 * @model literal="2011-5"
	 * @generated
	 * @ordered
	 */
	public static final int _20115_VALUE = 5;

	/**
	 * The '<em><b>20123</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20123</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20123
	 * @model literal="2012-3"
	 * @generated
	 * @ordered
	 */
	public static final int _20123_VALUE = 6;

	/**
	 * The '<em><b>20131</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20131</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20131
	 * @model literal="2013-1"
	 * @generated
	 * @ordered
	 */
	public static final int _20131_VALUE = 7;

	/**
	 * The '<em><b>20156</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20156</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20156
	 * @model literal="2015-6"
	 * @generated
	 * @ordered
	 */
	public static final int _20156_VALUE = 8;

	/**
	 * The '<em><b>20149</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20149</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20149
	 * @model literal="2014-9"
	 * @generated
	 * @ordered
	 */
	public static final int _20149_VALUE = 9;

	/**
	 * The '<em><b>20164</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20164</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20164
	 * @model literal="2016-4"
	 * @generated
	 * @ordered
	 */
	public static final int _20164_VALUE = 10;

	/**
	 * The '<em><b>20172</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20172</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20172
	 * @model literal="2017-2"
	 * @generated
	 * @ordered
	 */
	public static final int _20172_VALUE = 11;

	/**
	 * The '<em><b>20180</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20180</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20180
	 * @model literal="2018-0"
	 * @generated
	 * @ordered
	 */
	public static final int _20180_VALUE = 12;

	/**
	 * The '<em><b>20198</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20198</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20198
	 * @model literal="2019-8"
	 * @generated
	 * @ordered
	 */
	public static final int _20198_VALUE = 13;

	/**
	 * The '<em><b>20206</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20206</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20206
	 * @model literal="2020-6"
	 * @generated
	 * @ordered
	 */
	public static final int _20206_VALUE = 14;

	/**
	 * The '<em><b>20230</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20230</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20230
	 * @model literal="2023-0"
	 * @generated
	 * @ordered
	 */
	public static final int _20230_VALUE = 15;

	/**
	 * The '<em><b>20248</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20248</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20248
	 * @model literal="2024-8"
	 * @generated
	 * @ordered
	 */
	public static final int _20248_VALUE = 16;

	/**
	 * The '<em><b>20214</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20214</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20214
	 * @model literal="2021-4"
	 * @generated
	 * @ordered
	 */
	public static final int _20214_VALUE = 17;

	/**
	 * The '<em><b>20222</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20222</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20222
	 * @model literal="2022-2"
	 * @generated
	 * @ordered
	 */
	public static final int _20222_VALUE = 18;

	/**
	 * The '<em><b>20255</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20255</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20255
	 * @model literal="2025-5"
	 * @generated
	 * @ordered
	 */
	public static final int _20255_VALUE = 19;

	/**
	 * The '<em><b>20263</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>20263</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_20263
	 * @model literal="2026-3"
	 * @generated
	 * @ordered
	 */
	public static final int _20263_VALUE = 20;

	/**
	 * An array of all the '<em><b>Race Alaskan Native Aleut Unangan</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RaceAlaskanNativeAleutUnangan[] VALUES_ARRAY =
		new RaceAlaskanNativeAleutUnangan[] {
			_20065,
			_20073,
			_20081,
			_20099,
			_20107,
			_20115,
			_20123,
			_20131,
			_20156,
			_20149,
			_20164,
			_20172,
			_20180,
			_20198,
			_20206,
			_20230,
			_20248,
			_20214,
			_20222,
			_20255,
			_20263,
		};

	/**
	 * A public read-only list of all the '<em><b>Race Alaskan Native Aleut Unangan</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RaceAlaskanNativeAleutUnangan> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Race Alaskan Native Aleut Unangan</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAlaskanNativeAleutUnangan get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAlaskanNativeAleutUnangan result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race Alaskan Native Aleut Unangan</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAlaskanNativeAleutUnangan getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAlaskanNativeAleutUnangan result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race Alaskan Native Aleut Unangan</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAlaskanNativeAleutUnangan get(int value) {
		switch (value) {
			case _20065_VALUE: return _20065;
			case _20073_VALUE: return _20073;
			case _20081_VALUE: return _20081;
			case _20099_VALUE: return _20099;
			case _20107_VALUE: return _20107;
			case _20115_VALUE: return _20115;
			case _20123_VALUE: return _20123;
			case _20131_VALUE: return _20131;
			case _20156_VALUE: return _20156;
			case _20149_VALUE: return _20149;
			case _20164_VALUE: return _20164;
			case _20172_VALUE: return _20172;
			case _20180_VALUE: return _20180;
			case _20198_VALUE: return _20198;
			case _20206_VALUE: return _20206;
			case _20230_VALUE: return _20230;
			case _20248_VALUE: return _20248;
			case _20214_VALUE: return _20214;
			case _20222_VALUE: return _20222;
			case _20255_VALUE: return _20255;
			case _20263_VALUE: return _20263;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RaceAlaskanNativeAleutUnangan(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RaceAlaskanNativeAleutUnangan
